package cn.ticket.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import cn.ticket.model.Refundlog;
@Repository 
@Transactional
public interface RefundlogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Refundlog record);

    int insertSelective(Refundlog record);

    Refundlog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Refundlog record);

    int updateByPrimaryKey(Refundlog record);
    
    List<Refundlog> getAll();
    
    List<Refundlog> getByCount(@Param("start")int start,@Param("count")int count);
    
    List<Map<String, Object>> getRefundInfoByDateRange(@Param("startDate")String startDate,@Param("endDate")String endDate);
}